package com.sjgtw.cloud.web.cuttingSlopeProtection.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 路堑护坡对象 t_eg_cutting_slope_protection
 * 
 * @author lvyoufang
 * @date 2024-03-14
 */
@ApiModel(value="路堑护坡对象", description="t_eg_cutting_slope_protection")
public class CuttingSlopeProtection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 区段 */
    @ApiModelProperty(value = "区段")
    @Excel(name = "区段")
    private Long section;

    /** 区段名称 */
    @ApiModelProperty(value = "区段名称")
    @Excel(name = "区段名称")
    private String sectionName;

    /** 工区 */
    @ApiModelProperty(value = "工区")
    @Excel(name = "工区")
    private Long workArea;

    /** 工区名称 */
    @ApiModelProperty(value = "工区名称")
    @Excel(name = "工区名称")
    private String workAreaName;

    /** 责任人 */
    @ApiModelProperty(value = "责任人")
    @Excel(name = "责任人")
    private Long person;

    /** 责任人名称 */
    @ApiModelProperty(value = "责任人名称")
    @Excel(name = "责任人名称")
    private String personName;

    /** 护坡地段 */
    @ApiModelProperty(value = "护坡地段")
    @Excel(name = "护坡地段")
    private String location;

    /** 左右侧 */
    @ApiModelProperty(value = "左右侧")
    @Excel(name = "左右侧")
    private String leftRight;

    /** 长度 */
    @ApiModelProperty(value = "长度")
    @Excel(name = "长度")
    private String length;

    /** 高度 */
    @ApiModelProperty(value = "高度")
    @Excel(name = "高度")
    private String height;

    /** 级数及高度 */
    @ApiModelProperty(value = "级数及高度")
    @Excel(name = "级数及高度")
    private String level;

    /** 问题描述 */
    @ApiModelProperty(value = "问题描述")
    @Excel(name = "问题描述")
    private String problem;

    /** 是否已提交 */
    @ApiModelProperty(value = "是否已提交")
    @Excel(name = "是否已提交")
    private Boolean submited;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    private List<Long> deptIds;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSection(Long section) 
    {
        this.section = section;
    }

    public Long getSection() 
    {
        return section;
    }
    public void setSectionName(String sectionName) 
    {
        this.sectionName = sectionName;
    }

    public String getSectionName() 
    {
        return sectionName;
    }
    public void setWorkArea(Long workArea) 
    {
        this.workArea = workArea;
    }

    public Long getWorkArea() 
    {
        return workArea;
    }
    public void setWorkAreaName(String workAreaName) 
    {
        this.workAreaName = workAreaName;
    }

    public String getWorkAreaName() 
    {
        return workAreaName;
    }
    public void setPerson(Long person) 
    {
        this.person = person;
    }

    public Long getPerson() 
    {
        return person;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setLeftRight(String leftRight) 
    {
        this.leftRight = leftRight;
    }

    public String getLeftRight() 
    {
        return leftRight;
    }
    public void setLength(String length) 
    {
        this.length = length;
    }

    public String getLength() 
    {
        return length;
    }
    public void setHeight(String height) 
    {
        this.height = height;
    }

    public String getHeight() 
    {
        return height;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setSubmited(Boolean submited)
    {
        this.submited = submited;
    }

    public Boolean getSubmited()
    {
        return submited;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public List<Long> getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(List<Long> deptIds) {
        this.deptIds = deptIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("section", getSection())
            .append("sectionName", getSectionName())
            .append("workArea", getWorkArea())
            .append("workAreaName", getWorkAreaName())
            .append("person", getPerson())
            .append("personName", getPersonName())
            .append("location", getLocation())
            .append("leftRight", getLeftRight())
            .append("length", getLength())
            .append("height", getHeight())
            .append("level", getLevel())
            .append("problem", getProblem())
            .append("submited", getSubmited())
            .append("remark", getRemark())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
